package com.antu.first.dao;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test {
    public static void main(String [] args){
        ApplicationContext context=new ClassPathXmlApplicationContext("classpath:spring/spring-*.xml");

        HotelDao hotelDao= (HotelDao) context.getBean("hotelDao");

    }
}
